@primary-color: #07C160; // 全局主色
@link-color: #07C160; // 链接色


html {
    --antd-wave-shadow-color: @primary-color;
}

a, a:hover{
    color: @primary-color;
}

.ant-btn:hover {
    border-color:  @primary-color !important;
    color:  @primary-color;
}

.ant-btn-primary {
    background-color: @primary-color !important;
    border-color: @primary-color !important;
}

.ant-btn-primary:hover {
    background-color: @primary-color;
    border-color: @primary-color;
    color:  #fff;

}

// spin
.ant-spin-dot-item {
    background-color: @primary-color;
}
// tabs
.ant-tabs-ink-bar {
    background-color: @primary-color;
}

.ant-tabs-tab-active, .ant-tabs-tab:hover{
    color: @primary-color !important;
}

// table

// input

// .ant-input-search:focus, .ant-input-affix-wrapper:focus {
//     outline: @primary-color;
//     border-color: @primary-color;
// }
// .ant-input-search:hover, .ant-input-affix-wrapper:hover {
//     outline: @primary-color;
//     border-color: @primary-color;
// }
// .ant-input:focus {
//     outline: @primary-color;
//     border-color: @primary-color;
// }
// .ant-input:hover {
//     outline: @primary-color;
//     border-color: @primary-color;
// }

// check-box
.ant-checkbox-checked .ant-checkbox-inner {
    background-color: @primary-color;
    border-color: @primary-color;
}
.ant-checkbox-checked:hover .ant-checkbox-inner:hover {
    background-color: @primary-color;
    border-color: @primary-color;
}
.ant-checkbox-input:hover, .ant-checkbox:hover {
    background-color: @primary-color;
    border-color: @primary-color;
}

// sort icon
.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up.on,
.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down.on {
    color: @primary-color;
}

// 分页
.ant-pagination-item-active {
    border-color: @primary-color;
}
.ant-pagination-item-active:hover {
    border-color: @primary-color !important;
    color: @primary-color !important;
}

.ant-pagination-item-active:focus {
    border-color: @primary-color !important;
    color: @primary-color !important;
}
.ant-pagination-item-active a, .ant-pagination-item-active a:hover, .ant-pagination-item-active a:focus{
    color: @primary-color;
}



.ant-checkbox-indeterminate .ant-checkbox-inner:after {
    background-color: @primary-color;

}


// date
.ant-calendar-range .ant-calendar-selected-end-date .ant-calendar-date, .ant-calendar-range .ant-calendar-selected-start-date .ant-calendar-date {
    background-color: @primary-color;
}
.ant-calendar-range:hover .ant-calendar-selected-end-date:hover .ant-calendar-date:hover {
    background-color: @primary-color !important;
}
.ant-calendar-range .ant-calendar-in-range-cell:before {
    background: #ecffe6
}
.ant-calendar-today .ant-calendar-date {
    color: @primary-color;
    border-color: @primary-color;
}